package anotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@SuppressWarnings("unchecked")
public @interface relationship {
	public rel cardinality();

	public String column();

	public enum rel {
		MANY_TO_ONE,
		ONE_TO_MANY,
		ONE_TO_ONE;
	}
}
